[PATCH 1/2] Sky Cpu and Nexus: get rid of useless NULL init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch removes useless structure items init accroding to C99.

Signed-off-by: Cyrill Gorcunov <[email protected]>
---

 drivers/misc/hdpuftrs/hdpu_cpustate.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/misc/hdpuftrs/hdpu_cpustate.c b/drivers/misc/hdpuftrs/hdpu_cpustate.c
index cc33f24..427e357 100644
--- a/drivers/misc/hdpuftrs/hdpu_cpustate.c
+++ b/drivers/misc/hdpuftrs/hdpu_cpustate.c
@@ -176,9 +176,6 @@ static const struct file_operations cpustate_fops = {
       .release	= cpustate_release,
       .read	= cpustate_read,
       .write	= cpustate_write,
-      .fasync	= NULL,
-      .poll	= NULL,
-      .ioctl	= NULL,
       .llseek	= no_llseek,
 };
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux