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>
This commit is contained in:
Al Viro 2007-08-19 04:51:26 +01:00 committed by Linus Torvalds
parent 6ec8a856e4
commit 35b426c329
1 changed files with 1 additions and 0 deletions

View File

@ -167,6 +167,7 @@ static ssize_t store_stp_state(struct device *d,
br_stp_set_enabled(br, val);
rtnl_unlock();
return len;
}
static DEVICE_ATTR(stp_state, S_IRUGO | S_IWUSR, show_stp_state,
store_stp_state);