From: Greg KH <gregkh@linuxfoundation.org>
To: Anchal Jain <anchalj109@gmail.com>
Cc: outreachy-kernel@googlegroups.com, amitoj1606@gmail.com
Subject: Re: [PATCH 1/3] staging: rtl8188eu: core: Remove unnecessary parentheses around LNet function pointer
Date: Sun, 18 Sep 2016 12:34:59 +0200 [thread overview]
Message-ID: <20160918103459.GA9852@kroah.com> (raw)
In-Reply-To: <20160918074648.GA4656@life-desktop>
On Sun, Sep 18, 2016 at 01:16:55PM +0530, Anchal Jain wrote:
> No need for the parentheses around any function pointer.
>
> Signed-off-by: Anchal Jain <anchalj109@gmail.com>
> ---
> drivers/staging/rtl8188eu/core/rtw_ap.c | 30 +++++++++++++++---------------
> 1 file changed, 15 insertions(+), 15 deletions(-)
>
> diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers/staging/rtl8188eu/core/rtw_ap.c
> index 3562f11..dfd5055 100644
> --- a/drivers/staging/rtl8188eu/core/rtw_ap.c
> +++ b/drivers/staging/rtl8188eu/core/rtw_ap.c
> @@ -26,7 +26,7 @@
>
> void init_mlme_ap_info(struct adapter *padapter)
> {
> - struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
> + struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
But that's not a function pointer, right?
confused,
greg k-h
prev parent reply other threads:[~2016-09-18 10:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-18 7:46 [PATCH 1/3] staging: rtl8188eu: core: Remove unnecessary parentheses around LNet function pointer Anchal Jain
2016-09-18 10:34 ` Greg KH [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=20160918103459.GA9852@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=amitoj1606@gmail.com \
--cc=anchalj109@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.