From: Richard Zhao Date: Tue, 18 Sep 2012 08:38:30 +0000 (+0800) Subject: ASoC: imx-audmux: remove null check of audmux_base in audmux_read_file X-Git-Tag: v3.7-rc1~81^2~14^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3a50c95e275c2e553e2a6dcc646eef3daf98a3e;p=pandora-kernel.git ASoC: imx-audmux: remove null check of audmux_base in audmux_read_file When audmux_read_file is called, it means the driver is already initialised successfully, so we don't need to check audmux_base. It also fix smatch warning: sound/soc/fsl/imx-audmux.c:78 audmux_read_file() warn: possible memory leak of 'buf' Signed-off-by: Richard Zhao Signed-off-by: Mark Brown --- Reading git-diff-tree failed