summaryrefslogtreecommitdiff
path: root/net/core/net-sysfs.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-05-04 06:21:02 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-05-04 20:58:56 (GMT)
commit58ef6a3f64bd837e107a2bbf0571574850a32b8c (patch)
tree786af91757a76e41fbe6554bef09f4602f856d31 /net/core/net-sysfs.h
parent614bdd4d6e61d260d82945f5f52a5dc288f64783 (diff)
downloadlinux-58ef6a3f64bd837e107a2bbf0571574850a32b8c.tar.xz
usbnet/smsc75xx: silence uninitialized variable warning
If the fn() calls fail then "buf" is uninitialized. Just return early in that situation. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net-sysfs.h')
0 files changed, 0 insertions, 0 deletions