TRIVIAL: linux-3.15-rc5/arch/arm/mach-imx/mach-imx27_visstrim_m10.c:466: pointless assignment to ret.

Bug #1321852 reported by dcb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro
New
Undecided
Unassigned

Bug Description

[linux-3.15-rc5/arch/arm/mach-imx/mach-imx27_visstrim_m10.c:466] -> [linux-3.15-rc5/arch/arm/mach-im
x/mach-imx27_visstrim_m10.c:470]: (performance) Variable 'ret' is reassigned a value before the old
one has been used.

Source code is

    int ret = -ENOMEM;
    struct platform_device *pdev = &visstrim_deinterlace;
    int dma;

    ret = platform_device_register(pdev);

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.