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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b04e085499
commit
91bd2855ed
@ -29,7 +29,6 @@
|
||||
#include <linux/atomic.h>
|
||||
|
||||
#include "w1.h"
|
||||
#include "w1_log.h"
|
||||
#include "w1_int.h"
|
||||
#include "w1_family.h"
|
||||
#include "w1_netlink.h"
|
||||
|
Reference in New Issue
Block a user