Removed get_pageshift(). Every one can affort a * instead of a >>, no need
* glibtop_server.c: * glibtop_server.h: * procmem.c: (glibtop_get_proc_mem_s): * procsegment.c: (glibtop_get_proc_segment_s): Removed get_pageshift(). Every one can affort a * instead of a >>, no need for this kind of non-reentrant optimization. Saved 144B (obviously perfect cleanup ;)
This commit is contained in:
@@ -39,8 +39,6 @@ G_BEGIN_DECLS
|
||||
#define LINUX_VERSION_CODE(x,y,z) (0x10000*(x) + 0x100*(y) + z)
|
||||
|
||||
|
||||
unsigned get_pageshift(void);
|
||||
|
||||
static inline char*
|
||||
next_token(const char *p)
|
||||
{
|
||||
|
Reference in New Issue
Block a user