From: Changhuang Liang Date: Mon, 9 Jan 2023 02:39:29 +0000 (+0800) Subject: input: touchscreen: tinker_ft5406: Delete unused code. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=749c1e5846741ff1b0577ba8fc5e4a5d303d712e;p=platform%2Fkernel%2Flinux-starfive.git input: touchscreen: tinker_ft5406: Delete unused code. Delete unused code avoid warning. Signed-off-by: Changhuang Liang --- diff --git a/drivers/input/touchscreen/tinker_ft5406.c b/drivers/input/touchscreen/tinker_ft5406.c index 256e2ba..42d9435 100644 --- a/drivers/input/touchscreen/tinker_ft5406.c +++ b/drivers/input/touchscreen/tinker_ft5406.c @@ -371,8 +371,6 @@ static int tinker_ft5406_probe(struct i2c_client *client, return 0; -check_fw_failed: - input_unregister_device(g_ts_data->input_dev); input_register_failed: input_free_device(input_dev); input_allocate_failed: