Ralf Baechle 10cae1c8df NET: NETROM: Cleanup argument SIOCADDRT ioctl argument checking.
nr_route.ndigis is unsigned int so the nr_route.ndigis < 0 expression is
never true and can be dropped.  Doing the nr_ax25_dev_get call later
allows the nr_route.ndigis test to bail out without having to dev_put.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Thomas Osterried <thomas@osterried.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-29 00:23:13 -05:00
..
2011-11-22 16:43:32 -05:00
2011-03-17 11:59:32 +11:00
2011-10-13 16:05:07 -04:00
2011-11-22 16:43:32 -05:00
2011-11-08 13:59:44 -05:00
2011-09-16 19:20:20 -04:00
2011-11-14 00:10:50 -05:00
2011-11-28 19:09:28 -05:00
2011-11-22 16:43:32 -05:00
2011-11-22 16:43:32 -05:00
2011-07-05 15:26:57 -04:00