]> git.karo-electronics.de Git - karo-tx-linux.git/commit
w1: Remove unneeded use of assert() and remove w1_log.h
authorAndrew F. Davis <afd@ti.com>
Thu, 16 Mar 2017 15:19:54 +0000 (10:19 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 16:20:57 +0000 (18:20 +0200)
commit91bd2855edbc6a941bf0b16990fbf2894c41c388
tree3ba75b7c58bb29cd5535bdcbb990976faab7afef
parentb04e08549910626cda1dbe68ed600afa3ce2af81
w1: Remove unneeded use of assert() and remove w1_log.h

The only use of assert() is in matrox_w1.c and is used to check the input
to probe() from the PCI subsystem for NULL values, these are guaranteed
to be populated and no other PCI driver makes this check, remove this.

As this was the only definition in w1_log.h, remove this also.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/masters/matrox_w1.c
drivers/w1/w1.c
drivers/w1/w1_int.c
drivers/w1/w1_io.c
drivers/w1/w1_log.h [deleted file]
drivers/w1/w1_netlink.c