Skip to content

Commit b6e67d6

Browse files
Russell Kingdavem330
authored andcommitted
sfp: fix sparse warning
drivers/net/phy/sfp-bus.c:298:13: warning: context imbalance in 'sfp_bus_release' - wrong count at exit Signed-off-by: Russell King <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 0a6fcd3 commit b6e67d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/phy/sfp-bus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ static struct sfp_bus *sfp_bus_get(struct device_node *np)
291291
return found;
292292
}
293293

294-
static void sfp_bus_release(struct kref *kref) __releases(sfp_mutex)
294+
static void sfp_bus_release(struct kref *kref)
295295
{
296296
struct sfp_bus *bus = container_of(kref, struct sfp_bus, kref);
297297

0 commit comments

Comments
 (0)