From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Date: Wed, 10 Jan 2018 16:16:55 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected functions. Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> --- drivers/misc/ti-st/st_kim.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/misc/ti-st/st_kim.c b/drivers/misc/ti-st/st_kim.c index 948e3461d02e..e33eb4bcb608 100644 --- a/drivers/misc/ti-st/st_kim.c +++ b/drivers/misc/ti-st/st_kim.c @@ -206,7 +206,6 @@ static void kim_int_recv(struct kim_data_s *kim_gdata, kim_gdata->rx_skb->cb[1] = 0; } - return; } static long read_local_version(struct kim_data_s *kim_gdata, char *bts_scr_name) @@ -436,7 +435,6 @@ void st_kim_recv(void *disc_data, const unsigned char *data, long count) * from other fw responses when data gathering is complete */ kim_int_recv(kim_gdata, data, count); - return; } /* to signal completion of line discipline installation -- 2.15.1 -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html