+ drivers-scsi-arcmsr-cleanups.patch added to -mm tree

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

 



The patch titled

     drivers/scsi/arcmsr/: cleanups

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

     drivers-scsi-arcmsr-cleanups.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/scsi/arcmsr/: cleanups
From: Adrian Bunk <bunk@xxxxxxxxx>


- arcmsr_attr.c: #if 0 the unused arcmsr_free_sysfs_attr()
- arcmsr_hba.c: make the needlessly global arcmsr_iop_reset() static

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
Cc: Erich Chen <erich@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/scsi/arcmsr/arcmsr_attr.c |    2 ++
 drivers/scsi/arcmsr/arcmsr_hba.c  |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff -puN drivers/scsi/arcmsr/arcmsr_attr.c~drivers-scsi-arcmsr-cleanups drivers/scsi/arcmsr/arcmsr_attr.c
--- a/drivers/scsi/arcmsr/arcmsr_attr.c~drivers-scsi-arcmsr-cleanups
+++ a/drivers/scsi/arcmsr/arcmsr_attr.c
@@ -171,12 +171,14 @@ arcmsr_alloc_sysfs_attr(struct AdapterCo
 							&arcmsr_sysfs_message_transfer_attr);
 }
 
+#if 0
 void
 arcmsr_free_sysfs_attr(struct AdapterControlBlock *acb) {
 	struct Scsi_Host *host = acb->host;
 
 	sysfs_remove_bin_file(&host->shost_gendev.kobj, &arcmsr_sysfs_message_transfer_attr);
 }
+#endif  /*  0  */
 
 static ssize_t
 arcmsr_attr_host_driver_version(struct class_device *cdev, char *buf) {
diff -puN drivers/scsi/arcmsr/arcmsr_hba.c~drivers-scsi-arcmsr-cleanups drivers/scsi/arcmsr/arcmsr_hba.c
--- a/drivers/scsi/arcmsr/arcmsr_hba.c~drivers-scsi-arcmsr-cleanups
+++ a/drivers/scsi/arcmsr/arcmsr_hba.c
@@ -1357,7 +1357,7 @@ static void arcmsr_iop_init(struct Adapt
 	acb->acb_flags |= ACB_F_IOP_INITED;
 }
 
-void arcmsr_iop_reset(struct AdapterControlBlock *acb)
+static void arcmsr_iop_reset(struct AdapterControlBlock *acb)
 {
 	struct MessageUnit __iomem *reg = acb->pmu;
 	struct CommandControlBlock *ccb;
_

Patches currently in -mm which might be from bunk@xxxxxxxxx are

origin.patch
time-i386-clocksource-drivers.patch
fbdev-cleanup-the-config_video_select-mess.patch
fbdev-remove-duplicate-includes.patch
fbdev-remove-unused-exports.patch
md-make-md_print_devices-static.patch
drivers-md-mdc-make-code-static.patch
acpiphp-use-new-dock-driver.patch
drivers-acpi-scanc-make-acpi_bus_type-static.patch
git-agpgart.patch
the-scheduled-unexport-of-insert_resource.patch
git-dvb.patch
git-gfs2.patch
make-drivers-scsi-pata_pcmciacpcmcia_remove_one-static.patch
make-drivers-scsi-pata_it821xcit821x_passthru_dev_select-static.patch
ni5010-netcard-cleanup-fix.patch
git-ocfs2.patch
gregkh-pci-acpiphp-configure-_prt-v3-cleanup.patch
drivers-scsi-aic7xxx-possible-cleanups.patch
drivers-scsi-small-cleanups.patch
drivers-scsi-megaraidc-add-a-dummy-mega_create_proc_entry-for-proc_fs=y.patch
drivers-scsi-qla2xxx-make-some-functions-static.patch
drivers-scsi-qla2xxx-make-more-some-functions-static.patch
drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_done_with_status-static.patch
drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static.patch
drivers-scsi-aic7xxx-possible-cleanups-2.patch
drivers-scsi-arcmsr-cleanups.patch
drivers-scsi-advansysc-cleanups.patch
if-0-drivers-usb-input-hid-corechid_find_field_by_usage.patch
acx1xx-wireless-driver.patch
fs-bufferc-possible-cleanups.patch
make-kernel-sysctlc_proc_do_string-static.patch
namespaces-utsname-implement-clone_newuts-flag-tidy.patch
task-watchers-register-semundo-task-watcher-cleanup.patch
fs-reiser4-possible-cleanups.patch
drivers-ide-legacy-ide-csc-make-2-functions-static.patch
drivers-char-ipmi-ipmi_msghandlerc-make-proc_ipmi_root-static.patch
drivers-message-i2o-iopc-unexport-i2o_msg_nop.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