diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-09-30 02:22:14 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-30 02:22:14 -0700 |
commit | cf04a4c764cd3e651a64b3e667bb6a673ead99e1 (patch) | |
tree | 61fc379e33ca08e68326b9f76577fd2a57435034 /drivers/net/ne2k-pci.c | |
parent | db4148da2cc84c31419b5e3ae3115ac6e11817a1 (diff) |
netdev: use const for some name functions
dev_change_name and netdev_drivername should use const char on
parameters that are read-only input values. The strcpy to newname is
not needed since newname is not used later in function.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ne2k-pci.c')
0 files changed, 0 insertions, 0 deletions