[v0.98][Refactoring] Unify the use of unknown string

This commit is contained in:
Dr-Noob
2021-08-05 19:04:19 +02:00
parent 6e8a9612ad
commit 6ab6afc974
9 changed files with 7 additions and 19 deletions

View File

@@ -13,8 +13,6 @@
#include "uarch.h"
#include "soc.h"
#define STRING_UNKNOWN "Unknown"
void init_cache_struct(struct cache* cach) {
cach->L1i = emalloc(sizeof(struct cach));
cach->L1d = emalloc(sizeof(struct cach));

View File

@@ -9,7 +9,6 @@
#include "../common/global.h"
#define min(a,b) (((a)<(b))?(a):(b))
#define STRING_UNKNOWN "Unknown"
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
static char* soc_trademark_string[] = {

View File

@@ -7,8 +7,6 @@
#include "uarch.h"
#include "../common/global.h"
#define STRING_UNKNOWN "Unknown"
// Data not available
#define NA -1