aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorDavid S. Miller <[email protected]>2011-06-06 16:41:33 -0700
committerDavid S. Miller <[email protected]>2011-06-06 16:41:33 -0700
commit3019de124b9f5b1526cb3668b74af14371e21795 (patch)
tree3b4fd5843b61f3a860824ec38827cf0256620eed /lib/cpu-notifier-error-inject.c
parent5a079c305ad4dda9708b7a29db4a8bd38e21c3a6 (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions