staging: unisys: visornic: enable skb->len error-check, remove DEBUG blocks
authorTim Sell <Timothy.Sell@unisys.com>
Tue, 28 Jul 2015 16:29:10 +0000 (12:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Jul 2015 23:10:35 +0000 (16:10 -0700)
commitcb84fca03d99ec1bb8d370b575aa2984b60a8374
treecb12c038bafa2122f6b4f959314c46b7c105e0e6
parentc847020e7ae07c6a3d68c9a617815b9d4f8a1e10
staging: unisys: visornic: enable skb->len error-check, remove DEBUG blocks

* A skb->len error-check was enabled (removed from a "#ifdef DEBUG" block).
* Several unneeded "#ifdef DEBUG" blocks were removed.
* A dev_err() was converted to the more-appropriate netdev_err().

Signed-off-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visornic/visornic_main.c