Merge branch 'rmobile-latest' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal...
[pandora-kernel.git] / drivers / scsi / fcoe / fcoe_ctlr.c
index 9d38be2..229e4af 100644 (file)
@@ -978,10 +978,8 @@ static void fcoe_ctlr_recv_adv(struct fcoe_ctlr *fip, struct sk_buff *skb)
         * the FCF that answers multicast solicitations, not the others that
         * are sending periodic multicast advertisements.
         */
-       if (mtu_valid) {
-               list_del(&fcf->list);
-               list_add(&fcf->list, &fip->fcfs);
-       }
+       if (mtu_valid)
+               list_move(&fcf->list, &fip->fcfs);
 
        /*
         * If this is the first validated FCF, note the time and