* [PATCH] net-sysfs: remove unused fmt_long_hex
@ 2016-02-15 22:54 Colin King
2016-02-17 21:22 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2016-02-15 22:54 UTC (permalink / raw)
To: David S . Miller, Jiri Pirko, Scott Feldman, John Fastabend,
Andy Gospodarek, netdev
Cc: linux-kernel
From: Colin Ian King <colin.king@canonical.com>
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>
---
net/core/net-sysfs.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c
index b6c8a66..e326707 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";
--
2.7.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net-sysfs: remove unused fmt_long_hex
2016-02-15 22:54 [PATCH] net-sysfs: remove unused fmt_long_hex Colin King
@ 2016-02-17 21:22 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2016-02-17 21:22 UTC (permalink / raw)
To: colin.king; +Cc: jiri, sfeldma, john.r.fastabend, gospo, netdev, linux-kernel
From: Colin King <colin.king@canonical.com>
Date: Mon, 15 Feb 2016 22:54:47 +0000
> From: Colin Ian King <colin.king@canonical.com>
>
> 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>
Applied, thank you.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-17 21:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-15 22:54 [PATCH] net-sysfs: remove unused fmt_long_hex Colin King
2016-02-17 21:22 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.