From: Jiri Slaby Date: Wed, 20 Mar 2013 14:30:57 +0000 (+0100) Subject: CAIF: fix tty->warned build error X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~136^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d3b88d187d02c910fce62ee4d14fb29617f21ba;p=pandora-kernel.git CAIF: fix tty->warned build error After commit 6865ff222cca ("TTY: do not warn about setting speed via SPD_*"), we are seeing a build error when DEBUG_FS is enabled: drivers/net/caif/caif_serial.c: In function 'update_tty_status': drivers/net/caif/caif_serial.c:94:11: error: 'struct tty_struct' has no member named 'warned' Fix the error by removing the reference to the variable as it was not set in the last decade (as documented in the changelog of the commit above). Signed-off-by: Jiri Slaby Reported-by: Stephen Rothwell Cc: Sjur Braendeland Cc: netdev@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed