Re: [PATCH] 9p: Remove some unneeded #include

From: Christophe JAILLET
Date: Sun Nov 27 2022 - 09:45:33 EST


Le 27/11/2022 à 15:07, Christian Schoenebeck a écrit :
On Sunday, November 27, 2022 1:59:25 PM CET Christophe JAILLET wrote:
The 9p fs does not use IDR or IDA functionalities. So there is no point in
including <linux/idr.h>.
Remove it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
---

Right, it's used by net/9p/client.c only. Probably some more files in net/9p
could therefore be deflated as well. Anyway:

Reviewed-by: Christian Schoenebeck <linux_oss@xxxxxxxxxxxxx>



Hi,
i was unsure if net/9p and fs/9p should be patched at the same time or not.

I'll send another patch for net/9p.

CJ