mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
drm/etnaviv: remove unneeded variable initialization
There is no need to initialize variable 'err' with 0 because it will be properly assigned later on. Signed-off-by: Fabio Estevam <festevam@gmail.com>
This commit is contained in:
parent
db60eda32f
commit
dc227890d2
1 changed files with 1 additions and 1 deletions
|
|
@ -1652,7 +1652,7 @@ static int etnaviv_gpu_platform_probe(struct platform_device *pdev)
|
|||
{
|
||||
struct device *dev = &pdev->dev;
|
||||
struct etnaviv_gpu *gpu;
|
||||
int err = 0;
|
||||
int err;
|
||||
|
||||
gpu = devm_kzalloc(dev, sizeof(*gpu), GFP_KERNEL);
|
||||
if (!gpu)
|
||||
|
|
|
|||
Loading…
Reference in a new issue