From a6fe338040b604230a3ec660f82166c595c9ee63 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Tue, 3 Mar 2009 01:22:50 +0000 Subject: Remove superfluous test for == NULL, when variable has been used, anyway --- trackerlogic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trackerlogic.h b/trackerlogic.h index 3857202..69deddd 100644 --- a/trackerlogic.h +++ b/trackerlogic.h @@ -98,7 +98,7 @@ struct ot_peerlist { */ ot_vector peers; }; -#define OT_PEERLIST_HASBUCKETS(peer_list) ((peer_list) && ((peer_list)->peers.size > (peer_list)->peers.space)) +#define OT_PEERLIST_HASBUCKETS(peer_list) ((peer_list)->peers.size > (peer_list)->peers.space) struct ot_workstruct { /* Thread specific, static */ -- cgit v1.2.3