aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorDavid Kershner <[email protected]>2017-08-30 13:36:17 -0400
committerGreg Kroah-Hartman <[email protected]>2017-08-31 18:17:39 +0200
commit68f4f7665caef801d1ad361f613a9edd7c40bb16 (patch)
tree3955fbb920fe2ffd1ad485987f433dfb5f19f56c /lib/netdev-notifier-error-inject.c
parent9a8dc900ec8929c63345350d544c349c687e2055 (diff)
staging: unisys: Don't check for null before getting driver device.
The macro to convert to the driver object was giving a checkpatch warning when it ateempted to check for a null driver. It would return NULL if it found it, but only one location was checking to see if it was NULL. Remove the check in the MACRO and do it prior to calling the macro if required. Signed-off-by: David Kershner <[email protected]> Reviewed-by: Tim Sell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions