Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b3a78b4e2a4ee7a06861e012d95acea513384001
Commit:     b3a78b4e2a4ee7a06861e012d95acea513384001
Parent:     6f8a4da17ea2c8467f88a586ae1d6fcfe2c66222
Author:     Ivo van Doorn <[EMAIL PROTECTED]>
AuthorDate: Tue Nov 27 21:51:57 2007 +0100
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 15:05:11 2008 -0800

    rt2x00: Cleanup rfkill
    
    The label exit_free_polldev is no longer used and can be removed.
    input_free_polled_device() also calls input_free_device(), so
    don't call it seperatly.
    
    Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 drivers/net/wireless/rt2x00/rt2x00rfkill.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/net/wireless/rt2x00/rt2x00rfkill.c 
b/drivers/net/wireless/rt2x00/rt2x00rfkill.c
index 7439637..34a96d4 100644
--- a/drivers/net/wireless/rt2x00/rt2x00rfkill.c
+++ b/drivers/net/wireless/rt2x00/rt2x00rfkill.c
@@ -148,9 +148,6 @@ int rt2x00rfkill_allocate(struct rt2x00_dev *rt2x00dev)
 
        return 0;
 
-exit_free_polldev:
-       input_free_polled_device(rt2x00dev->poll_dev);
-
 exit_free_rfkill:
        rfkill_free(rt2x00dev->rfkill);
 
@@ -163,7 +160,6 @@ void rt2x00rfkill_free(struct rt2x00_dev *rt2x00dev)
        if (!test_bit(CONFIG_SUPPORT_HW_BUTTON, &rt2x00dev->flags))
                return;
 
-       input_free_device(rt2x00dev->poll_dev->input);
        input_free_polled_device(rt2x00dev->poll_dev);
        rfkill_free(rt2x00dev->rfkill);
 }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to