summaryrefslogtreecommitdiff
path: root/net/sysctl_net.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2008-09-30 02:22:14 -0700
committerDavid S. Miller <davem@davemloft.net>2008-09-30 02:22:14 -0700
commitcf04a4c764cd3e651a64b3e667bb6a673ead99e1 (patch)
tree61fc379e33ca08e68326b9f76577fd2a57435034 /net/sysctl_net.c
parentdb4148da2cc84c31419b5e3ae3115ac6e11817a1 (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 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions