From: Jes Sorensen <jes.sorensen@gmail.com>
To: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>,
outreachy-kernel@googlegroups.com
Subject: Re: [Outreachy kernel] [PATCH v3] Staging: rtl8192u: Fix comments in the file
Date: Mon, 23 Feb 2015 15:27:16 -0500 [thread overview]
Message-ID: <54EB8D24.6080408@gmail.com> (raw)
In-Reply-To: <1424722837-8732-1-git-send-email-ksenija.stanojevic@gmail.com>
On 02/23/15 15:20, Ksenija Stanojevic wrote:
> Remove commented code, no longer in use and convert comments from
> C99 to C89 style. Issue found by checkpatch.pl.
>
> Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
> ---
> v3: remove unused code, format comments.
> v2: remove space before tab.
> drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h | 12 +++++-------
> 1 file changed, 5 insertions(+), 7 deletions(-)
This one looks great!
Jes
> diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h
> index 7ed7243..e283f5e 100644
> --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h
> +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h
> @@ -1,14 +1,14 @@
> #ifndef _TSTYPE_H_
> #define _TSTYPE_H_
> #include "rtl819x_Qos.h"
> -#define TS_SETUP_TIMEOUT 60 // In millisecond
> +#define TS_SETUP_TIMEOUT 60 /* In millisecond */
> #define TS_INACT_TIMEOUT 60
> #define TS_ADDBA_DELAY 60
>
> #define TOTAL_TS_NUM 16
> #define TCLAS_NUM 4
>
> -// This define the Tx/Rx directions
> +/* This define the Tx/Rx directions */
> typedef enum _TR_SELECT {
> TX_DIR = 0,
> RX_DIR = 1,
> @@ -28,9 +28,8 @@ typedef struct _TS_COMMON_INFO{
> typedef struct _TX_TS_RECORD{
> TS_COMMON_INFO TsCommonInfo;
> u16 TxCurSeq;
> - BA_RECORD TxPendingBARecord; // For BA Originator
> - BA_RECORD TxAdmittedBARecord; // For BA Originator
> -// QOS_DL_RECORD DLRecord;
> + BA_RECORD TxPendingBARecord; /* For BA Originator */
> + BA_RECORD TxAdmittedBARecord; /* For BA Originator */
> u8 bAddBaReqInProgress;
> u8 bAddBaReqDelayed;
> u8 bUsingBa;
> @@ -44,11 +43,10 @@ typedef struct _RX_TS_RECORD {
> u16 RxTimeoutIndicateSeq;
> struct list_head RxPendingPktList;
> struct timer_list RxPktPendingTimer;
> - BA_RECORD RxAdmittedBARecord; // For BA Recipient
> + BA_RECORD RxAdmittedBARecord; /* For BA Recipient */
> u16 RxLastSeqNum;
> u8 RxLastFragNum;
> u8 num;
> -// QOS_DL_RECORD DLRecord;
> } RX_TS_RECORD, *PRX_TS_RECORD;
>
>
>
prev parent reply other threads:[~2015-02-23 20:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-23 20:20 [PATCH v3] Staging: rtl8192u: Fix comments in the file Ksenija Stanojevic
2015-02-23 20:27 ` Jes Sorensen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54EB8D24.6080408@gmail.com \
--to=jes.sorensen@gmail.com \
--cc=ksenija.stanojevic@gmail.com \
--cc=outreachy-kernel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.