diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-10-10 14:41:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-25 11:03:47 +0100 |
commit | 731339363c5ddfd9607610ef9e58d9c0fb46a9f4 (patch) | |
tree | 30f918a2e7dcefbdd37eb76428049b474803c34a /drivers/gpu | |
parent | 6cd38c25bf3f345c0b5402a6a32f37318811613b (diff) |
tlan: avoid unused label with PCI=n
commit 1e09c106a44c2b2685a77a1ef27951381c9fcd23 upstream.
While build testing with randconfig on x86, I ran into this warning
that appears to have been around forever
drivers/net/ethernet/ti/tlan.c: In function ‘tlan_probe1’:
drivers/net/ethernet/ti/tlan.c:614:1: error: label ‘err_out’ defined but not used [-Werror=unused-label]
This can be trivially avoided by just moving the label into the
existing #ifdef.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions