diff options
| author | Al Viro <viro@ftp.linux.org.uk> | 2007-08-18 23:51:26 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-19 13:32:31 -0400 |
| commit | 35b426c329e12e33bd0f0912f3d2e3f5f7b2c486 (patch) | |
| tree | 7699cf822c2102cc853f8b23f1455b3b77c4c4b6 | |
| parent | 6ec8a856e4097d42ece9b0b9459bbca1586f13d7 (diff) | |
missing return in bridge sysfs code
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
| -rw-r--r-- | net/bridge/br_sysfs_br.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_sysfs_br.c b/net/bridge/br_sysfs_br.c index 88f43003b193..c65f54e0e27f 100644 --- a/net/bridge/br_sysfs_br.c +++ b/net/bridge/br_sysfs_br.c | |||
| @@ -167,6 +167,7 @@ static ssize_t store_stp_state(struct device *d, | |||
| 167 | br_stp_set_enabled(br, val); | 167 | br_stp_set_enabled(br, val); |
| 168 | rtnl_unlock(); | 168 | rtnl_unlock(); |
| 169 | 169 | ||
| 170 | return len; | ||
| 170 | } | 171 | } |
| 171 | static DEVICE_ATTR(stp_state, S_IRUGO | S_IWUSR, show_stp_state, | 172 | static DEVICE_ATTR(stp_state, S_IRUGO | S_IWUSR, show_stp_state, |
| 172 | store_stp_state); | 173 | store_stp_state); |
