+ drivers-char-ip2-kill-unused-code-label.patch added to -mm tree

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

 



The patch titled

     drivers/char/ip2: kill unused code, label

has been added to the -mm tree.  Its filename is

     drivers-char-ip2-kill-unused-code-label.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: drivers/char/ip2: kill unused code, label
From: Jeff Garzik <jeff@xxxxxxxxxx>

Kill warning:

drivers/char/ip2/ip2main.c: In function â??ip2_loadmainâ??:
drivers/char/ip2/ip2main.c:782: warning: label â??out_classâ?? defined but not used

This driver's initialization (and cleanup of errors during init) is
extremely convoluted, and could stand to be transformed into the standard
unwinding-goto style of error cleanup.

Signed-off-by: Jeff Garzik <jeff@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/char/ip2/ip2main.c |    2 --
 1 file changed, 2 deletions(-)

diff -puN drivers/char/ip2/ip2main.c~drivers-char-ip2-kill-unused-code-label drivers/char/ip2/ip2main.c
--- a/drivers/char/ip2/ip2main.c~drivers-char-ip2-kill-unused-code-label
+++ a/drivers/char/ip2/ip2main.c
@@ -779,8 +779,6 @@ retry:
 	ip2trace (ITRC_NO_PORT, ITRC_INIT, ITRC_RETURN, 0 );
 	goto out;
 
-out_class:
-	class_destroy(ip2_class);
 out_chrdev:
 	unregister_chrdev(IP2_IPL_MAJOR, "ip2");
 out:
_

Patches currently in -mm which might be from jeff@xxxxxxxxxx are

origin.patch
acpi-fix-64-bit-pointer-truncation-bugs.patch
git-libata-all.patch
libata-return-sense-data-in-hdio_drive_cmd-ioctl.patch
libata-return-sense-data-in-hdio_drive_cmd-ioctl-tidy.patch
via-pata-controller-xfer-fixes.patch
ahci-ati-sb600-sata-support-for-various-modes.patch
git-netdev-all.patch
update-smc91x-driver-with-arm-versatile-board-info.patch
b44-fix-eeprom-endianess-issue.patch
forcedeth-hardirq-lockdep-warning.patch
forcedeth-power-management-support.patch
forcedeth-power-management-support-tidy.patch
remove-unnecessary-check-in-drivers-net-depcac.patch
8139too-force-media-setting-fix.patch
tulip-fix-shutdown-dma-irq-race.patch
zatm-always-clear-pcr-in-alloc_shaper.patch
atm-ambassador-fix-return-code-bug.patch
r8169-driver-corega-support-patch.patch
git-pciseg.patch
usb-serial-mos7840-fix-cast.patch
fs-eventpoll-error-handling-micro-cleanup.patch
ipmi-fix-uninitd-data-bug.patch
drivers-char-ip2-kill-unused-code-label.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