From ddd0c0aa2baa2d109679c534cbdbade914f8048a Mon Sep 17 00:00:00 2001 From: Ravi BK Date: Tue, 15 Nov 2016 16:08:49 +0530 Subject: [PATCH] Fixing build errors observed in centos65/R2.21.x Removing the redundant code which also fixes the compilation error observed while building vrouter on centos65 machine for R2.21.x branch Change-Id: I8645e9d7b4e7d6c675909ac66556f4c2bbd4eff1 Closes-Bug: #1531237 --- linux/vr_host_interface.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/linux/vr_host_interface.c b/linux/vr_host_interface.c index d954c24b6..458ff37e8 100644 --- a/linux/vr_host_interface.c +++ b/linux/vr_host_interface.c @@ -136,10 +136,6 @@ vr_skb_get_rxhash(struct sk_buff *skb) #if defined(RHEL_MAJOR) && defined(RHEL_MINOR) && \ (RHEL_MAJOR == 6) && (RHEL_MINOR >= 4) return skb->rxhash; -#elif - return skb->hash; -#else - return 0; #endif #elif (LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0)) #if defined(RHEL_MAJOR) && defined(RHEL_MINOR) && \