lkml.org 
[lkml]   [2018]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 55/76] staging: ks7010: Remove trailing _t from 'struct local_aplist_t'.
    Date
    The "_t" suffix is not needed for structure names in this driver, and is a
    reflection of an older typedef system that is no longer in place. Replace
    all occurences of 'struct local_aplist_t' with 'struct local_aplist'.

    Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
    ---
    drivers/staging/ks7010/ks_wlan.h | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
    index 3104ff92c453..57b21d3a2435 100644
    --- a/drivers/staging/ks7010/ks_wlan.h
    +++ b/drivers/staging/ks7010/ks_wlan.h
    @@ -244,7 +244,7 @@ struct local_ap {

    #define LOCAL_APLIST_MAX 31
    #define LOCAL_CURRENT_AP LOCAL_APLIST_MAX
    -struct local_aplist_t {
    +struct local_aplist {
    int size;
    struct local_ap ap[LOCAL_APLIST_MAX + 1];
    };
    @@ -423,7 +423,7 @@ struct ks_wlan_private {

    unsigned char eth_addr[ETH_ALEN];

    - struct local_aplist_t aplist;
    + struct local_aplist aplist;
    struct local_ap current_ap;
    struct power_save_status_t psstatus;
    struct sleep_status_t sleepstatus;
    --
    2.16.3
    \
     
     \ /
      Last update: 2018-03-30 09:16    [W:3.127 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site