projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: dev_ioctl: remove redundant initialization of variable err
[linux-2.6-microblaze.git]
/
net
/
core
/
dev_ioctl.c
diff --git
a/net/core/dev_ioctl.c
b/net/core/dev_ioctl.c
index
205e92e
..
db8a0ff
100644
(file)
--- a/
net/core/dev_ioctl.c
+++ b/
net/core/dev_ioctl.c
@@
-230,7
+230,7
@@
static int dev_do_ioctl(struct net_device *dev,
struct ifreq *ifr, unsigned int cmd)
{
const struct net_device_ops *ops = dev->netdev_ops;
- int err
= -EOPNOTSUPP
;
+ int err;
err = dsa_ndo_do_ioctl(dev, ifr, cmd);
if (err == 0 || err != -EOPNOTSUPP)