Re: [PATCH] staging: wlan-ng: Use flexible-array for one / zero-length arrays

From: Dan Carpenter
Date: Fri Oct 28 2022 - 10:49:51 EST


On Fri, Oct 28, 2022 at 08:14:53PM +0530, Deepak R Varma wrote:
> Also, there are a few function declarations that I do not think are used in the
> code anywhere.
> File: drivers/staging/wlan-ng/p80211mgmt.h
> Line number : 500 through 519
>
> Can you please comment if it is safe to remove these functions and include this
> clean-up as well in the proposed patch?

Always feel free to delete code that is not used.

(But send the patch tomorrow and as part of a patchset).

regards,
dan carpenter