[2.6 patch] drivers/ide/: possible cleanups

From: Adrian Bunk (bunk_at_stusta.de)
Date: 08/20/05

  • Next message: mikep: "SCSI- unexpected disconnect with kernel-2.6.13-r6"
    Date:	Sat, 20 Aug 2005 21:02:51 +0200
    To: B.Zolnierkiewicz@elka.pw.edu.pl
    
    

    This patch contains the following possible cleanups:
    - pci/cy82c693.c: make a needlessly global function static
    - remove the following unneeded EXPORT_SYMBOL's:
      - ide-taskfile.c: do_rw_taskfile
      - ide-iops.c: default_hwif_iops
      - ide-iops.c: default_hwif_transport
      - ide-iops.c: wait_for_ready

    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    ---
     drivers/ide/ide-iops.c     |    6 ------
     drivers/ide/ide-taskfile.c |    2 --
     drivers/ide/pci/cy82c693.c |    2 +-
     3 files changed, 1 insertion(+), 9 deletions(-)
    --- linux-2.6.11-rc3-mm1-full/drivers/ide/ide-taskfile.c.old	2005-02-05 02:57:03.000000000 +0100
    +++ linux-2.6.11-rc3-mm1-full/drivers/ide/ide-taskfile.c	2005-02-05 02:57:12.000000000 +0100
    @@ -161,8 +161,6 @@
     	return ide_stopped;
     }
     
    -EXPORT_SYMBOL(do_rw_taskfile);
    -
     /*
      * set_multmode_intr() is invoked on completion of a WIN_SETMULT cmd.
      */
    --- linux-2.6.12-rc2-mm3-full/drivers/ide/pci/cy82c693.c.old	2005-04-17 21:11:22.000000000 +0200
    +++ linux-2.6.12-rc2-mm3-full/drivers/ide/pci/cy82c693.c	2005-04-17 21:11:30.000000000 +0200
    @@ -469,7 +469,7 @@
     
     static __initdata ide_hwif_t *primary;
     
    -void __devinit init_iops_cy82c693(ide_hwif_t *hwif)
    +static void __devinit init_iops_cy82c693(ide_hwif_t *hwif)
     {
     	if (PCI_FUNC(hwif->pci_dev->devfn) == 1)
     		primary = hwif;
    --- linux-2.6.12-rc2-mm3-full/drivers/ide/ide-iops.c.old	2005-04-17 21:12:44.000000000 +0200
    +++ linux-2.6.12-rc2-mm3-full/drivers/ide/ide-iops.c	2005-04-17 21:12:54.000000000 +0200
    @@ -104,8 +104,6 @@
     	hwif->INSL	= ide_insl;
     }
     
    -EXPORT_SYMBOL(default_hwif_iops);
    -
     /*
      *	MMIO operations, typically used for SATA controllers
      */
    @@ -329,8 +327,6 @@
     	hwif->atapi_output_bytes	= atapi_output_bytes;
     }
     
    -EXPORT_SYMBOL(default_hwif_transport);
    -
     /*
      * Beginning of Taskfile OPCODE Library and feature sets.
      */
    @@ -525,8 +525,6 @@
     	return 0;
     }
     
    -EXPORT_SYMBOL(wait_for_ready);
    -
     /*
      * This routine busy-waits for the drive status to be not "busy".
      * It then checks the status for all of the "good" bits and none
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: mikep: "SCSI- unexpected disconnect with kernel-2.6.13-r6"

    Relevant Pages

    • [2.6 patch] SCSI NCR53C9x.c: some cleanups (fwd)
      ... The patch forwarded below still applies and compiles against ... The patch below contains some cleanups. ... extern int esp_abort; ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH] cifs: whitespace cleanups for fcntl.c
      ... Here's a patch with cleanups for fs/cifs/fcntl.c ... This time the file is so small and the cleanups so trivial that I chose to ... +int cifs_dir_notify ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [2.6 patch] net/seeq8005.c: small cleanups (fwd)
      ... The trivial patch forwarded below still applies and compiles against ... The patch below does the following small cleanups in seeq8005.c: ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • [2.6 patch] drivers/ide/: possible cleanups
      ... This patch contains the following possible cleanups: ... make a needlessly global function statix ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [2.6 patch] sound/: possible cleanups
      ... This patch contains the following possible cleanups: ... +static void snd_generic_device_release(struct device *dev) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)