video: tegra: nvmap: Don't store task struct for kernel threads
authorRebecca Schultz Zavin <rebecca@android.com>
Wed, 12 Jan 2011 19:10:34 +0000 (11:10 -0800)
committerRebecca Schultz Zavin <rebecca@android.com>
Wed, 12 Jan 2011 19:14:55 +0000 (11:14 -0800)
commitb7cb0ccbfe228933b20fb8dd775b44f8b1cf40a7
tree33f79ca6b7c095eb7519ac9bd1e7034146aadfdd
parent1c10dcd996647eb616bd9fac854dbdc834ad13e4
video: tegra: nvmap: Don't store task struct for kernel threads

No need to maintain a reference to the task struct if the client
is a kernel thread.  In this case just set the task to NULL.

Change-Id: Ica4785388932f6b298eeb0da04b78b0e1cdc3a44
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
drivers/video/tegra/nvmap/nvmap_dev.c