Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dca: delete unnecessary variable

It's more readable to just pass NULL directly instead of using a variable
for that.

Link: https://lkml.kernel.org/r/Y/yAlDytLH0ZNLNz@kili
Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Dan Carpenter and committed by
Andrew Morton
3ac39d20 7b32137b

+1 -3
+1 -3
drivers/dca/dca-core.c
··· 294 294 */ 295 295 u8 dca_get_tag(int cpu) 296 296 { 297 - struct device *dev = NULL; 298 - 299 - return dca_common_get_tag(dev, cpu); 297 + return dca_common_get_tag(NULL, cpu); 300 298 } 301 299 EXPORT_SYMBOL_GPL(dca_get_tag); 302 300