- usb-writing_usb_driver-free-urb-cleanup.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     usb: writing_usb_driver free urb cleanup
has been removed from the -mm tree.  Its filename was
     usb-writing_usb_driver-free-urb-cleanup.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: usb: writing_usb_driver free urb cleanup
From: Mariusz Kozlowski <m.kozlowski@xxxxxxxxxx>

usb_free_urb(NULL) is permitted.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 Documentation/DocBook/writing_usb_driver.tmpl |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -puN Documentation/DocBook/writing_usb_driver.tmpl~usb-writing_usb_driver-free-urb-cleanup Documentation/DocBook/writing_usb_driver.tmpl
--- a/Documentation/DocBook/writing_usb_driver.tmpl~usb-writing_usb_driver-free-urb-cleanup
+++ a/Documentation/DocBook/writing_usb_driver.tmpl
@@ -345,8 +345,7 @@ static inline void skel_delete (struct u
         usb_buffer_free (dev->udev, dev->bulk_out_size,
             dev->bulk_out_buffer,
             dev->write_urb->transfer_dma);
-    if (dev->write_urb != NULL)
-        usb_free_urb (dev->write_urb);
+    usb_free_urb (dev->write_urb);
     kfree (dev);
 }
   </programlisting>
_

Patches currently in -mm which might be from m.kozlowski@xxxxxxxxxx are

origin.patch
i2lib-unused-variable-cleanup.patch
make-1-bit-bitfields-unsigned.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux