]> Pileus Git - ~andy/linux/blobdiff - drivers/ieee1394/eth1394.c
Merge branch 'merge'
[~andy/linux] / drivers / ieee1394 / eth1394.c
index 5bda15904a08fbfed971f0348c341d64df19132b..2d5b57be98c3b024d1f40c7cad7d6a841aee3db1 100644 (file)
@@ -1074,8 +1074,7 @@ static inline int update_partial_datagram(struct list_head *pdgl, struct list_he
 
        /* Move list entry to beginnig of list so that oldest partial
         * datagrams percolate to the end of the list */
-       list_del(lh);
-       list_add(lh, pdgl);
+       list_move(lh, pdgl);
 
        return 0;
 }