Thread (4 messages) 4 messages, 4 authors, 2025-01-11

Re: [PATCH net-next] net/smc: delete pointless divide by one

From: Kalesh Anakkur Purayil <kalesh-anakkur.purayil@broadcom.com>
Date: 2025-01-08 12:16:28
Also in: kernel-janitors, linux-rdma, linux-s390, lkml

On Wed, Jan 8, 2025 at 2:56 PM Dan Carpenter [off-list ref] wrote:
Here "buf" is a void pointer so sizeof(*buf) is one.  Doing a divide
by one makes the code less readable.  Delete it.

Signed-off-by: Dan Carpenter <redacted>
LGTM,
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>


-- 
Regards,
Kalesh AP

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help