浏览代码

rtc: rx8025: remove useless initialization

irq_freq is already initialized to 1 in rtc_device_register()

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni 10 年之前
父节点
当前提交
4b33d36b67
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/rtc/rtc-rx8025.c

+ 0 - 1
drivers/rtc/rtc-rx8025.c

@@ -547,7 +547,6 @@ static int rx8025_probe(struct i2c_client *client,
 		}
 	}
 
-	rx8025->rtc->irq_freq = 1;
 	rx8025->rtc->max_user_freq = 1;
 
 	err = rx8025_sysfs_register(&client->dev);