Author: Bhumika Goyal <bhumirks@gmail.com> This patch replaces list_entry with list_first_entry as it makes the code more clear. Done using coccinelle: @@ expression e; @@ ( – list_entry(e->next, + list_first_entry(e, …) | – list_entry(e->prev, + list_last_entry(e, …) ) Signed-off-by: Bhumika Goyal Signed-off-by: Greg Kroah-Hartman — drivers/staging/most/hdm-dim2/dim2_hdm.c | 6 +++— 1 file changed, 3 insertions(+), 3 deletions(-) …
Privacy Overview
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.