Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752172AbdHLRga (ORCPT ); Sat, 12 Aug 2017 13:36:30 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:51165 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751965AbdHLRg1 (ORCPT ); Sat, 12 Aug 2017 13:36:27 -0400 X-ME-Sender: X-Sasl-enc: kZoJ0bk4gqsC6LN15bDMM9BiT96Voxo1qn+oObGxLy2v 1502559077 From: Michael Sartain To: Steven Rostedt Cc: Michael Sartain , linux-kernel@vger.kernel.org Subject: [PATCH 5/5] trace-cmd: Remove unused view_width variable Date: Sat, 12 Aug 2017 11:30:47 -0600 Message-Id: <20170812173047.840-6-mikesart@fastmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170812173047.840-1-mikesart@fastmail.com> References: <20170812173047.840-1-mikesart@fastmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 740 Lines: 27 Signed-off-by: Michael Sartain --- trace-graph.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/trace-graph.c b/trace-graph.c index 1db342f..2c49549 100644 --- a/trace-graph.c +++ b/trace-graph.c @@ -1263,7 +1263,6 @@ static void draw_info_box(struct graph_info *ginfo, const gchar *buffer, gint width, height; GdkPixmap *pix; static GdkGC *pix_bg; - gint view_width; gint view_start; if (!pix_bg) { @@ -1284,7 +1283,6 @@ static void draw_info_box(struct graph_info *ginfo, const gchar *buffer, height += PLOT_BOARDER * 2; view_start = gtk_adjustment_get_value(ginfo->hadj); - view_width = gtk_adjustment_get_page_size(ginfo->hadj); if (x > view_start + width) x -= width; -- 2.13.2