fcoe-utils/fcoe-utils-1.0.18-fcoe-utils-Remove-unused-variable-symbolic_name_len.patch
Petr Sabata 9a79b1c7b8 1.0.18+ bump
BuildRoot and ExcludeArch cleanup
2011-04-20 11:03:37 +02:00

28 lines
872 B
Diff

From b8d63420e5c33391ff4ba300df862f599cd2a76b Mon Sep 17 00:00:00 2001
From: Nithin Sujir <nsujir@broadcom.com>
Date: Tue, 12 Apr 2011 05:33:06 +0000
Subject: [PATCH 11/16] fcoe-utils: Remove unused variable symbolic_name_len
Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: Petr Sabata <psabata@redhat.com>
---
lib/fcoe_utils.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/lib/fcoe_utils.c b/lib/fcoe_utils.c
index 0ebdf9b..142b045 100644
--- a/lib/fcoe_utils.c
+++ b/lib/fcoe_utils.c
@@ -161,7 +161,6 @@ int fcoe_checkdir(char *dir)
*/
char *get_ifname_from_symbolic_name(const char *symbolic_name)
{
- int symbolic_name_len = strlen(symbolic_name);
char *last_space = strrchr(symbolic_name, ' ');
if (!last_space || strlen(last_space) == 1)
--
1.7.4.4