Thread (4 messages) 4 messages, 3 authors, 2005-05-02

Re: [2.6 patch] drivers/ide/: possible cleanups

From: Adrian Bunk <hidden>
Date: 2005-05-01 14:29:23
Also in: lkml

On Sun, May 01, 2005 at 02:37:43PM +0100, Alan Cox wrote:
On Sad, 2005-04-30 at 21:07, Adrian Bunk wrote:
quoted
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
default_*_ops are very much API items not currently used. You need them
if you
want to switch from mmio back to pio (eg doing S3 resume) although
nobody is currently doing that.
My patch only removes the EXPORT_SYMBOL's.

The functions themselves stay (since they are used), and if someone 
wants at some time in the future use them from a module, re-adding them 
will be trivial.
wait_for_ready used to be used by ide-probe as a module so seems sane.
cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help