power: Remove unused private members to fix compile-time warning
Certain versions of clang complain about unused private members if they are not used. This changeset removes such members from the POWER-specific ProcessInfo struct to silence the warning.
This commit is contained in:
parent
6b908211e6
commit
8d04e32a83
2 changed files with 0 additions and 10 deletions
|
@ -38,7 +38,6 @@ using namespace std;
|
||||||
namespace PowerISA {
|
namespace PowerISA {
|
||||||
|
|
||||||
ProcessInfo::ProcessInfo(ThreadContext *_tc)
|
ProcessInfo::ProcessInfo(ThreadContext *_tc)
|
||||||
: tc(_tc)
|
|
||||||
{
|
{
|
||||||
panic("ProcessInfo constructor not implemented.\n");
|
panic("ProcessInfo constructor not implemented.\n");
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,15 +47,6 @@ namespace PowerISA
|
||||||
|
|
||||||
class ProcessInfo
|
class ProcessInfo
|
||||||
{
|
{
|
||||||
private:
|
|
||||||
ThreadContext *tc;
|
|
||||||
|
|
||||||
int thread_info_size;
|
|
||||||
int task_struct_size;
|
|
||||||
int task_off;
|
|
||||||
int pid_off;
|
|
||||||
int name_off;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ProcessInfo(ThreadContext *_tc);
|
ProcessInfo(ThreadContext *_tc);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue