Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e4dcd22 authored by Yoann Padioleau's avatar Yoann Padioleau Committed by Tony Luck
Browse files

[IA64] Compare pointer against NULL, not '0'



When comparing a pointer, it's clearer to compare it to NULL than to 0.

Signed-off-by: default avatarYoann Padioleau <padator@wanadoo.fr>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 7a6c8135
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ simscsi_interrupt (unsigned long val)
{
	struct scsi_cmnd *sc;

	while ((sc = queue[rd].sc) != 0) {
	while ((sc = queue[rd].sc) != NULL) {
		atomic_dec(&num_reqs);
		queue[rd].sc = NULL;
		if (DBG)