Project

General

Profile

Actions

Bug #958

open

Useless defines are generated by DEG

Added by Evgeny Novikov over 13 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Environment Generation
Start date:
03/17/2011
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

First of all I don't understand why these defines are needed at all. Next sometimes a large set of defines is placed before commented entity and the same defines set (see attach):

        ...
    #define ew16flash(reg,val)    __ew16flash(hw, (reg), (val))
    #define ew32flash(reg,val)    __ew32flash(hw, (reg), (val))
    /* LDV_COMMENT_END_PREP */
    /* content: static s32 e1000_get_link_up_info_ich8lan(struct e1000_hw *hw, u16 *speed, u16 *duplex)*/
    /* LDV_COMMENT_BEGIN_PREP */
    #define ICH_FLASH_GFPREG        0x0000
    #define ICH_FLASH_HSFSTS        0x0004
        ...


Files

lan.c.p (224 KB) lan.c.p DEG output Evgeny Novikov, 03/17/2011 04:16 PM

No data to display

Actions

Also available in: Atom PDF