diff options
author | Luca Ceresoli <luca.ceresoli@comelit.it> | 2011-05-14 05:49:59 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-05-19 21:35:55 +0200 |
commit | 2cb53608076381e2cc4472790a0d768717d01b32 (patch) | |
tree | c092210e97015f62bec7cc4160ef60642e6dfd3c /README | |
parent | 2e320257c8a4b1a4eda0840117fccf7b8c4dd437 (diff) | |
download | u-boot-imx-2cb53608076381e2cc4472790a0d768717d01b32.zip u-boot-imx-2cb53608076381e2cc4472790a0d768717d01b32.tar.gz u-boot-imx-2cb53608076381e2cc4472790a0d768717d01b32.tar.bz2 |
net/tftp.c: cosmetic: do not use assignment in if condition
This removes the following checkpatch issue:
- ERROR: do not use assignment in if condition.
There is one such error left:
ERROR: do not use assignment in if condition
#239: FILE: tftp.c:239:
+ if (!ProhibitMcast
+ && (Bitmap = malloc(Mapsize))
+ && eth_get_dev()->mcast) {
which would require an additional nested if to be fixed, resulting in longer
and less readable code.
Signed-off-by: Luca Ceresoli <luca.ceresoli@comelit.it>
Cc: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions