open-iscsi/open-iscsi-rm-unused-variable

22 lines
607 B
Plaintext

commit de8a96fe313aecaf73e94810b571f342f627e288
Author: Erez Zilber <erezzi.list@gmail.com>
Date: Wed Oct 22 12:00:00 2008 +0200
rm unused variable in fw_entry.c
Signed-off-by: Erez Zilber <erezzi.list@gmail.com>
diff --git a/utils/fwparam_ibft/fw_entry.c b/utils/fwparam_ibft/fw_entry.c
index 915bbb7..fbfa3dd 100644
--- a/utils/fwparam_ibft/fw_entry.c
+++ b/utils/fwparam_ibft/fw_entry.c
@@ -38,8 +38,6 @@ int fw_get_entry(struct boot_context *context, const char *filepath)
*/
static void dump_mac(struct boot_context *context)
{
- int i;
-
if (!strlen(context->mac))
return;