fixup! net: Add MHI support for RMC PegaPCI. * As submitted by RMC for modem support *
Dan Willemsen [Thu, 1 Aug 2013 06:23:31 +0000 (23:23 -0700)]
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

net/mhi/mhi_socket.c

index 7d8f1ba..232d673 100644 (file)
@@ -148,7 +148,6 @@ int mhi_sock_rcv_unicast(
        u8                  l3proto,
        u32                 l3length)
 {
-       struct hlist_node  *hnode;
        struct sock        *sknode;
        struct mhi_sock    *msk;
 
@@ -156,7 +155,7 @@ int mhi_sock_rcv_unicast(
 
        spin_lock(&mhi_sock_lock);
        {
-               sk_for_each(sknode, hnode, &mhi_sock_list) {
+               sk_for_each(sknode, &mhi_sock_list) {
                        msk = mhi_sk(sknode);
                        if ((msk->sk_l3proto == MHI_L3_ANY ||
                              msk->sk_l3proto == l3proto) &&
@@ -181,7 +180,6 @@ int mhi_sock_rcv_multicast(
        u8                  l3proto,
        u32                 l3length)
 {
-       struct hlist_node  *hnode;
        struct sock        *sknode;
        struct mhi_sock    *msk;
        struct sk_buff     *clone;
@@ -190,7 +188,7 @@ int mhi_sock_rcv_multicast(
 
        spin_lock(&mhi_sock_lock);
        {
-               sk_for_each(sknode, hnode, &mhi_sock_list) {
+               sk_for_each(sknode, &mhi_sock_list) {
                        msk = mhi_sk(sknode);
                        if ((msk->sk_l3proto == MHI_L3_ANY ||
                              msk->sk_l3proto == l3proto) &&