Re: [PATCH v2 0/7] drop some unnecessary wrappers

From: Fabio M. De Francesco
Date: Tue Apr 12 2022 - 12:08:35 EST


On marted? 12 aprile 2022 17:15:29 CEST Dan Carpenter wrote:
> On Tue, Apr 12, 2022 at 11:53:42AM +0200, Fabio M. De Francesco wrote:
> > I didn't suggest a re-write of the commit messages.
>
> Yes. That's the problem. If you want to complain about a commit
> message then you *should* suggest how you would re-write it. Otherwise
> how are we supposed to read your mind?

Ah, sorry. I had missed that you were asking for a re-write (literally).

Here it is a sort of diff on Vihas' patch:

- [PATCH v2 1/7] staging: r8188eu: drop unnecessary wrapper _rtw_free_cmd_priv
+ [PATCH v2 1/7] staging: r8188eu: drop unnecessary helper _rtw_free_cmd_priv()

- Drop unnecessary wrapper _rtw_free_cmd_priv and move its logic to
- rtw_free_cmd_priv.
+ Drop unnecessary helper (wrapped function) _rtw_free_cmd_priv() and
+ move its code to the wrapper rtw_free_cmd_priv().

> > I just pointed out that those messages are formally inaccurate but
> > that these kinds of small formal inaccuracies
>
> I'm so puzzled but what you mean here. There were no "small formal
> inaccuracies". The patch removed unnecessary wrappers exactly as
> described.

The patch removed unnecessary helpers.

> Anyway, I haven't seen your proposed commit message so I
> can't say.
>
> regards,
> dan carpenter

Thanks,

Fabio M. De Francesco