]> git.baikalelectronics.ru Git - kernel.git/commit
dp83640: Make use of skb_queue_purge instead of reimplementing the code
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 8 Sep 2014 15:25:34 +0000 (11:25 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Sep 2014 21:24:35 +0000 (14:24 -0700)
commit2ea4cd89e0c25bdd72d7b133026740a6752a3a6f
tree1cbfb6018f7609dc4cc1e5c0fd200d931287eee8
parentd9bffd18955e88277b269a0a4ab78ab0bd8ac612
dp83640: Make use of skb_queue_purge instead of reimplementing the code

This change makes it so that dp83640_remove can use skb_queue_purge
instead of looping through itself to flush any entries out of the queue.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83640.c