[ARM] pxafb: fix building issue of incorrect reference
authorEric Miao <eric.y.miao@gmail.com>
Sat, 26 Dec 2009 08:25:18 +0000 (16:25 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 29 Dec 2009 06:11:27 +0000 (14:11 +0800)
commitda2c3f0ead336c04b4d1ad36ff42d8d264f44f65
tree39c1ade5fc4d9c65338e4c8c0b4a94246735dc5b
parent6b7b284958d47b77d06745b36bc7f36dab769d9b
[ARM] pxafb: fix building issue of incorrect reference

Commit "d2a34c1 drivers/video: Move dereference after NULL test" introduced
a build error of "fbi->dev->platform_data->smart_update" being unknown type
to the compiler, fix this by removing the unnecessary test of 'fbi'.

Cc: Julia Lawall <julia@diku.dk>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
drivers/video/pxafb.c