Commit 35b426c3 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

missing return in bridge sysfs code

parent 6ec8a856
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);