David S. Miller
3019de124b
net: Rework netdev_drivername() to avoid warning.
...
This interface uses a temporary buffer, but for no real reason.
And now can generate warnings like:
net/sched/sch_generic.c: In function dev_watchdog
net/sched/sch_generic.c:254:10: warning: unused variable drivername
Just return driver->name directly or "".
Reported-by: Connor Hansen <cmdkhh@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-06-06 16:41:33 -07:00
..
2011-05-07 22:50:48 -07:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2011-03-31 11:26:23 -03:00
2011-05-07 22:50:54 -07:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2011-01-20 00:06:15 -08:00
2011-01-19 23:31:12 -08:00
2011-03-04 21:55:31 -08:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2011-02-22 11:22:33 -08:00
2011-01-19 23:31:12 -08:00
2011-03-31 11:26:23 -03:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2011-05-19 19:23:28 -04:00
2011-04-04 11:10:24 -07:00
2011-05-19 18:32:55 -04:00
2011-01-19 23:31:12 -08:00
2008-10-31 00:45:55 -07:00
2011-01-24 14:09:35 -08:00
2011-02-24 22:11:57 -08:00
2011-01-20 23:31:33 -08:00
2011-01-24 14:09:35 -08:00
2011-03-03 11:10:02 -08:00
2011-06-06 16:41:33 -07:00
2011-01-19 23:31:12 -08:00
2011-01-24 14:09:35 -08:00
2011-03-31 11:26:23 -03:00
2011-01-10 16:07:54 -08:00
2011-01-21 16:26:09 -08:00
2011-02-23 14:11:32 -08:00
2011-01-24 14:09:35 -08:00
2011-03-31 11:26:23 -03:00
2011-01-24 14:09:35 -08:00
2011-04-04 11:10:24 -07:00
2011-01-24 14:09:35 -08:00
2011-02-23 14:05:11 -08:00
2011-05-25 17:55:32 -04:00
2011-01-24 14:09:35 -08:00
2011-01-24 14:09:35 -08:00