Thread (4 messages) 4 messages, 3 authors, 2021-02-03

Re: [PATCH] cxl: Reduce scope for the variable “mm” in cxllib_get_PE_attributes()

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2020-12-10 14:51:08
Also in: kernel-janitors, lkml

On Thu, Dec 10, 2020 at 03:35:38PM +0100, Markus Elfring wrote:
From: Markus Elfring <redacted>
Date: Thu, 10 Dec 2020 14:14:07 +0100

A local variable was used only within an if branch.
Thus move the definition for the variable “mm” into the corresponding
code block.
You did nothing here except add a checkpatch warning :(

dropped.

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