From 3a5352fc9d316fe1be18daf80571e80805e06f11 Mon Sep 17 00:00:00 2001 From: Tomas Winkler Date: Sun, 4 Dec 2011 16:16:27 +0200 Subject: [PATCH] staging/mei: Don't check if loop cursor is null list_for_each_entry_safe(pos, next, &head, list) if (pos) { .... } This check isn't needed. The list cursor in a list_for_each() loop is always a valid pointer Cc: Oren Weil Reported-by: Dan Carpenter Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed