Skip to content

Commit

Permalink
Staging: epl: remove NEAR
Browse files Browse the repository at this point in the history
It wasn't used and isn't needed.

Cc: Daniel Krueger <daniel.krueger@systec-electronic.com>
Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Apr 3, 2009
1 parent bd3966d commit 44b7117
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/epl/EplInstDef.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ typedef BYTE tEplInstanceHdl;
//--------------------------------------------------------------------------------------

// memory attributes for instance table
#define INST_NEAR // faster access to variables
#define INST_FAR // variables wich have to located in xdata
#define STATIC // prevent warnings for variables with same name

Expand Down Expand Up @@ -254,7 +253,6 @@ typedef BYTE tEplInstanceHdl;
#else // only one instance is used

// Memory attributes for instance table.
#define INST_NEAR NEAR // faster access to variables
#define INST_FAR MEM // variables wich have to located in xdata
#define STATIC static // prevent warnings for variables with same name

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/epl/EplObd.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
INSTANCE_TYPE_BEGIN EPL_MCO_DECL_INSTANCE_MEMBER()

STATIC tEplObdInitParam INST_FAR m_ObdInitParam;
STATIC tEplObdStoreLoadObjCallback INST_NEAR m_fpStoreLoadObjCallback;
STATIC tEplObdStoreLoadObjCallback m_fpStoreLoadObjCallback;

INSTANCE_TYPE_END
// decomposition of float
Expand Down
4 changes: 0 additions & 4 deletions drivers/staging/epl/global.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@

#define MEM // Memory attribute to optimize speed and code of pointer access.

#ifndef NEAR
#define NEAR // variables mapped to internal data storage location
#endif

#ifndef FAR
#define FAR // variables mapped to external data storage location
#endif
Expand Down

0 comments on commit 44b7117

Please sign in to comment.