Re: [Outreachy kernel] [PATCH] staging: media: Remove unnecessary function and its call
From: Joe Perches
Date: Sun Mar 05 2017 - 13:54:57 EST
On Sun, 2017-03-05 at 10:14 -0800, Alison Schofield wrote:
> On Sun, Mar 05, 2017 at 12:17:21PM +0530, simran singhal wrote:
> > The function atomisp_set_stop_timeout on being called, simply returns
> > back. The function hasn't been mentioned in the TODO and doesn't have
> > FIXME code around. Hence, atomisp_set_stop_timeout and its calls have been
> > removed.
> >
> > Signed-off-by: simran singhal <singhalsimran0@xxxxxxxxx>
> > ---
>
> Hi Simran,
>
> It's helpful to state right in the subject line what you removed.
> ie. remove unused function atomisp_set_stop_timeout()
>
> If you do that, scan's or grep'ing the git log pretty oneline's can
> easily see this without having to dig into the log.
>
> (gitpretty='git log --pretty=oneline --abbrev-commit')
>
> Can you share to Outreachy group how you found this? By inspection
> or otherwise??
At least for the rtl8192u patch submitted:
It's also helpful to read the comment you remove
and determine if what you are doing is the correct
thing to do and explain why it's OK in the commit
message. (fractured english below notwithstanding)
/* These function were added to load crypte module autoly */
- ieee80211_tkip_null();