diff options
| author | Douglas Schilling Landgraf <dougsland@gmail.com> | 2008-01-27 13:10:44 -0200 |
|---|---|---|
| committer | Douglas Schilling Landgraf <dougsland@gmail.com> | 2008-01-27 13:10:44 -0200 |
| commit | 56ab5d5a038d60cd901d04a60c56f4a9e0631c00 (patch) | |
| tree | d112fab93a2e3f7b87d8a68573f041272263bf3e /linux/drivers/media/dvb/dvb-core | |
| parent | ff1fe4613740e792a39664c6fc8d05876dfef864 (diff) | |
| download | mediapointer-dvb-s2-56ab5d5a038d60cd901d04a60c56f4a9e0631c00.tar.gz mediapointer-dvb-s2-56ab5d5a038d60cd901d04a60c56f4a9e0631c00.tar.bz2 | |
[PATCH] static memory
From: Douglas Schilling Landgraf <dougsland@gmail.com>
- Static memory is always initialized with 0.
- Replaced in some cases C99 comments for /* */
Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core')
| -rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvb_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_net.c b/linux/drivers/media/dvb/dvb-core/dvb_net.c index 793e004fe..e2eae4ca7 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_net.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_net.c @@ -367,7 +367,7 @@ static void dvb_net_ule( struct net_device *dev, const u8 *buf, size_t buf_len ) #ifdef ULE_DEBUG /* The code inside ULE_DEBUG keeps a history of the last 100 TS cells processed. */ static unsigned char ule_hist[100*TS_SZ]; - static unsigned char *ule_where = ule_hist, ule_dump = 0; + static unsigned char *ule_where = ule_hist, ule_dump; #endif /* For all TS cells in current buffer. |
