public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* Question about rtl8723bs
@ 2021-03-23  2:40 Edmundo Carmona Antoranz
  2021-03-23  7:15 ` Greg KH
  2021-03-23  7:28 ` Dan Carpenter
  0 siblings, 2 replies; 3+ messages in thread
From: Edmundo Carmona Antoranz @ 2021-03-23  2:40 UTC (permalink / raw)
  To: Marco Cesati, Dan Carpenter, Ross Schmidt, fabioaiuto83,
	linux-staging

Hi!

I was just trying to correct some compiler warnings coming up when
building this driver. The one problem that took me into kind of a
rabbit whole was about having K (in rtw_security.h) set as static. So,
every time it is included somewhere _and_ K is not being used, the
compiler is nagging about it. Ok.... easy fix, let's remove the static
keyword and we should be fine. Then I took a look at _where_ it was
being used.... well, nowhere.... so, ok, let's get rid of it.... oh,
here are these macros... are they in use? Actually _they are not_....
let's remove them also.... (I don't know if you are noticing a pattern
here) then I noticed that _a lot_ of code has been removed recently
and so I pulled the big guns and cleaned up the file and started to
add things back as they were being used in the build process.... in
the end, around 80 lines are gone (give or take) if working on top of
next, at least.

Is it a good idea to send a patch with all of these things removed or
they might be coming back later and so they should be kept?

Thanks in advance.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-23  8:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-23  2:40 Question about rtl8723bs Edmundo Carmona Antoranz
2021-03-23  7:15 ` Greg KH
2021-03-23  7:28 ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox