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

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

From: Simon Horman <horms@kernel.org>
Date: 2025-01-08 10:46:43
Also in: kernel-janitors, linux-rdma, linux-s390, lkml

On Wed, Jan 08, 2025 at 12:26:06PM +0300, Dan Carpenter 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>
Reviewed-by: Simon Horman <horms@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help