[PATCH] [POWERPC] Comment out a currently unused function

Michael Ellerman michael at ellerman.id.au
Mon May 21 17:19:30 EST 2007


On Mon, 2007-05-21 at 15:40 +1000, Stephen Rothwell wrote:
> Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
> ---
>  drivers/macintosh/windfarm_smu_sat.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> -- 
> Cheers,
> Stephen Rothwell                    sfr at canb.auug.org.au
> 
> diff --git a/drivers/macintosh/windfarm_smu_sat.c b/drivers/macintosh/windfarm_smu_sat.c
> index 1043b39..42b767a 100644
> --- a/drivers/macintosh/windfarm_smu_sat.c
> +++ b/drivers/macintosh/windfarm_smu_sat.c
> @@ -400,10 +400,12 @@ static int __init sat_sensors_init(void)
>  	return i2c_add_driver(&wf_sat_driver);
>  }
>  
> +#if 0	/* uncomment when module_exit() below is uncommented */
>  static void __exit sat_sensors_exit(void)
>  {
>  	i2c_del_driver(&wf_sat_driver);
>  }
> +#endif

Why not remove it? You can always get it back with git.

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070521/a99aaafe/attachment.pgp>


More information about the Linuxppc-dev mailing list