mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:37:37 +00:00
Kernel: Remove unused ProcessorInfo::m_processor field
This commit is contained in:
parent
f9528f1882
commit
b4ce1e2e62
2 changed files with 3 additions and 5 deletions
|
@ -18,7 +18,6 @@ namespace Kernel {
|
||||||
class Processor;
|
class Processor;
|
||||||
|
|
||||||
class ProcessorInfo {
|
class ProcessorInfo {
|
||||||
Processor& m_processor;
|
|
||||||
String m_cpuid;
|
String m_cpuid;
|
||||||
String m_brand;
|
String m_brand;
|
||||||
NonnullOwnPtr<KString> m_features;
|
NonnullOwnPtr<KString> m_features;
|
||||||
|
@ -29,7 +28,7 @@ class ProcessorInfo {
|
||||||
u32 m_apic_id;
|
u32 m_apic_id;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ProcessorInfo(Processor& processor);
|
ProcessorInfo(Processor const& processor);
|
||||||
|
|
||||||
const String& cpuid() const { return m_cpuid; }
|
const String& cpuid() const { return m_cpuid; }
|
||||||
const String& brand() const { return m_brand; }
|
const String& brand() const { return m_brand; }
|
||||||
|
|
|
@ -12,9 +12,8 @@
|
||||||
|
|
||||||
namespace Kernel {
|
namespace Kernel {
|
||||||
|
|
||||||
ProcessorInfo::ProcessorInfo(Processor& processor)
|
ProcessorInfo::ProcessorInfo(Processor const& processor)
|
||||||
: m_processor(processor)
|
: m_features(processor.features_string())
|
||||||
, m_features(m_processor.features_string())
|
|
||||||
{
|
{
|
||||||
u32 max_leaf;
|
u32 max_leaf;
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue