u-boot/net
Luca Ceresoli 2cb5360807 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>
2011-05-19 21:35:55 +02:00
..
bootp.c NET: pass source IP address to packet handlers 2011-05-12 19:38:19 +02:00
bootp.h net: express the first argument to NetSetTimeout() in milliseconds 2008-10-18 21:54:00 +02:00
dns.c NET: pass source IP address to packet handlers 2011-05-12 19:38:19 +02:00
dns.h Add DNS support 2009-07-22 22:53:44 -07:00
eth.c Create PHY Lib for U-Boot 2011-04-20 15:09:19 -05:00
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
net.c net/net.c: cosmetic: do not use assignment in if condition 2011-05-12 22:07:41 +02:00
nfs.c NET: pass source IP address to packet handlers 2011-05-12 19:38:19 +02:00
nfs.h nfs: accept CONFIG_NFS_READ_SIZE from config file 2009-08-25 13:35:54 -07:00
rarp.c NET: pass source IP address to packet handlers 2011-05-12 19:38:19 +02:00
rarp.h Initial revision 2002-07-20 20:14:13 +00:00
sntp.c NET: pass source IP address to packet handlers 2011-05-12 19:38:19 +02:00
sntp.h * Patch by Masami Komiya, 30 Mar 2005: 2005-04-01 00:25:43 +00:00
tftp.c net/tftp.c: cosmetic: do not use assignment in if condition 2011-05-19 21:35:55 +02:00
tftp.h Initial revision 2000-12-28 11:02:30 +00:00