Re: [linux-omap] [PATCH 2/2] DSPBRIDGE: Freeing allocated resources on rmmod

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 04 December 2008, Ramirez Luna, Omar wrote:
> +       DSP_STATUS dsp_status = DSP_SOK;
> +       HANDLE       hDrvObject = NULL;
> +       struct PROCESS_CONTEXT  *pTmp = NULL;
> +       struct PROCESS_CONTEXT    *pCtxtclosed = NULL;
> +       struct PROCESS_CONTEXT    *pCtxttraverse = NULL;

It WoUlD bE a LoT nIcEr ...

... if new code didn't introduce new CamelCase usage,
and didn't use Hungarian notation.

Hungarian notation makes some sense in assembly language,
where it was created to help cope with the lack of typing.
But not in C.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux