Skip to contentSkip to conversation

Sky Cpu and Nexus: get rid of useless NULL init

PATCH New Cyrill Gorcunov 1 participant 1 message Jul 11, 2007 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

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

This patch removes useless structure items init accroding to C99.

---

 drivers/misc/hdpuftrs/hdpu_cpustate.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
drivers/misc/hdpuftrs/hdpu_cpustate.c +0 -3
index cc33f24..427e357 100644
@@ -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,
 };