aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/net-sysfs.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-02-15 22:54:47 +0000
committerDavid S. Miller <davem@davemloft.net>2016-02-18 10:01:15 -0500
commitfbbef866fce2d81aa1791d0c762afb07dbc4e660 (patch)
treeec94bfc07bac783a834f0c1aa8adccd4b6cfa9f8 /net/core/net-sysfs.c
parentMerge branch 'vxlan-cleanups' (diff)
downloadlinux-dev-fbbef866fce2d81aa1791d0c762afb07dbc4e660.tar.xz
linux-dev-fbbef866fce2d81aa1791d0c762afb07dbc4e660.zip
net-sysfs: remove unused fmt_long_hex
Ever since commit 04ed3e741d0f133e02bed7fa5c98edba128f90e7 ("net: change netdev->features to u32") the format string fmt_long_hex has not been used, so we may as well remove it. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/core/net-sysfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c
index da7dbc237a5f..4ae17c3166fc 100644
--- a/net/core/net-sysfs.c
+++ b/net/core/net-sysfs.c
@@ -29,7 +29,6 @@
#ifdef CONFIG_SYSFS
static const char fmt_hex[] = "%#x\n";
-static const char fmt_long_hex[] = "%#lx\n";
static const char fmt_dec[] = "%d\n";
static const char fmt_ulong[] = "%lu\n";
static const char fmt_u64[] = "%llu\n";