1 From d410fe4b6eb2347f2160b8aaab24a639de99c23c Mon Sep 17 00:00:00 2001
2 From: Chris Leech <cleech@redhat.com>
3 Date: Mon, 19 Nov 2012 17:09:24 -0800
4 Subject: [PATCH] remove the offload boot supported ifdef
7 usr/iface.c | 7 +------
8 1 file changed, 1 insertion(+), 6 deletions(-)
10 diff --git a/usr/iface.c b/usr/iface.c
11 index 11f3d2a..65c1615 100644
14 @@ -998,6 +998,7 @@ int iface_setup_from_boot_context(struct iface_rec *iface,
16 struct iscsi_transport *t = NULL;
20 if (strlen(context->initiatorname))
21 strlcpy(iface->iname, context->initiatorname,
22 @@ -1011,10 +1012,7 @@ int iface_setup_from_boot_context(struct iface_rec *iface,
25 } else if (strlen(context->iface)) {
26 -/* this ifdef is only temp until distros and firmwares are updated */
27 -#ifdef OFFLOAD_BOOT_SUPPORTED
28 char transport_name[ISCSI_TRANSPORT_NAME_MAXLEN];
31 memset(transport_name, 0, ISCSI_TRANSPORT_NAME_MAXLEN);
32 /* make sure offload driver is loaded */
33 @@ -1040,9 +1038,6 @@ int iface_setup_from_boot_context(struct iface_rec *iface,
36 strlcpy(iface->netdev, context->iface, sizeof(iface->netdev));