From: Krishna Kumar Date: Tue, 8 Dec 2009 22:26:13 +0000 (+0000) Subject: tcp: Remove check in __tcp_push_pending_frames X-Git-Tag: v2.6.34-rc1~233^2~719 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12d50c46dc0f7fd2e625c4befaa5fa5740a7a594;p=pandora-kernel.git tcp: Remove check in __tcp_push_pending_frames tcp_push checks tcp_send_head and calls __tcp_push_pending_frames, which again checks tcp_send_head, and this unnecessary check is done for every other caller of __tcp_push_pending_frames. Remove tcp_send_head check in __tcp_push_pending_frames and add the check to tcp_push_pending_frames. Other functions call __tcp_push_pending_frames only when tcp_send_head would evaluate to true. Signed-off-by: Krishna Kumar Acked-by: Ilpo Järvinen Signed-off-by: David S. Miller --- Reading git-diff-tree failed