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

staging: qlge: Remove unnecessary parentheses around references

This patch fixes checkpatch.pl warning:

CHECK: Unnecessary parentheses around mpi_coredump->mpi_global_header

Signed-off-by: Nishal Kulkarni <nishalkulkarni@gmail.com>
Link: https://lore.kernel.org/r/YNcPzWXkKkmip95x@nishal-pc
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Nishal Kulkarni and committed by
Greg Kroah-Hartman
a0d38df6 1126df74

+2 -2
+2 -2
drivers/staging/qlge/qlge_dbg.c
··· 733 733 } 734 734 735 735 /* Insert the global header */ 736 - memset(&(mpi_coredump->mpi_global_header), 0, 736 + memset(&mpi_coredump->mpi_global_header, 0, 737 737 sizeof(struct mpi_coredump_global_header)); 738 738 mpi_coredump->mpi_global_header.cookie = MPI_COREDUMP_COOKIE; 739 739 mpi_coredump->mpi_global_header.header_size = ··· 1221 1221 { 1222 1222 int i, status; 1223 1223 1224 - memset(&(mpi_coredump->mpi_global_header), 0, 1224 + memset(&mpi_coredump->mpi_global_header, 0, 1225 1225 sizeof(struct mpi_coredump_global_header)); 1226 1226 mpi_coredump->mpi_global_header.cookie = MPI_COREDUMP_COOKIE; 1227 1227 mpi_coredump->mpi_global_header.header_size =