[PATCH] ar6000: do not NULLify arHtcTarget in ar6000_close
Marc Andre Tanner
openmoko at brain-dump.org
Wed Aug 26 14:58:40 CEST 2009
> drivers/ar6000/ar6000/ar6000_drv.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/ar6000/ar6000/ar6000_drv.c b/drivers/ar6000/ar6000/ar6000_drv.c
> index b790670..a3b5f82 100644
> --- a/drivers/ar6000/ar6000/ar6000_drv.c
> +++ b/drivers/ar6000/ar6000/ar6000_drv.c
> @@ -1145,8 +1145,6 @@ ar6000_close(struct net_device *dev)
>
> /* set the instance to NULL so we do not get called back on remove incase we
> * we're explicity destroyed by module unload */
I guess the comment can be removed too? It's a bit misleading otherwise.
> - HTCSetInstance(ar->arHtcTarget, NULL);
> -
Regards,
Marc
--
Marc Andre Tanner >< http://www.brain-dump.org/ >< GPG key: CF7D56C0
More information about the openmoko-kernel
mailing list