From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753464AbcBOWyy (ORCPT ); Mon, 15 Feb 2016 17:54:54 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:59006 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753106AbcBOWyx (ORCPT ); Mon, 15 Feb 2016 17:54:53 -0500 From: Colin King To: "David S . Miller" , Jiri Pirko , Scott Feldman , John Fastabend , Andy Gospodarek , netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH] net-sysfs: remove unused fmt_long_hex Date: Mon, 15 Feb 2016 22:54:47 +0000 Message-Id: <1455576887-12157-1-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 2.7.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Colin Ian King 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 --- 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