Merge branch 'x86-microcode-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git] / net / mac802154 / rx.c
index 7f820a108a9cf3461a46a57522251ea4edc51003..a14cf9ede171e7bcc2c1373931e5e7754b36bab4 100644 (file)
@@ -86,9 +86,8 @@ fail:
 static void mac802154_rx_worker(struct work_struct *work)
 {
        struct rx_work *rw = container_of(work, struct rx_work, work);
-       struct sk_buff *skb = rw->skb;
 
-       mac802154_subif_rx(rw->dev, skb, rw->lqi);
+       mac802154_subif_rx(rw->dev, rw->skb, rw->lqi);
        kfree(rw);
 }
 
@@ -101,7 +100,7 @@ ieee802154_rx_irqsafe(struct ieee802154_dev *dev, struct sk_buff *skb, u8 lqi)
        if (!skb)
                return;
 
-       work = kzalloc(sizeof(struct rx_work), GFP_ATOMIC);
+       work = kzalloc(sizeof(*work), GFP_ATOMIC);
        if (!work)
                return;
 
This page took 0.024285 seconds and 5 git commands to generate.