KPartition: Drop SetParent().

A comment indicated it "must" only be called in Add/RemoveChild only.
So the field is just modified there now.
This commit is contained in:
Augustin Cavalier
2024-12-19 17:21:04 -05:00
parent 74ae79fed9
commit 01e97ff280
2 changed files with 2 additions and 12 deletions
@@ -137,8 +137,6 @@ public:
void SetDevice(KDiskDevice *device);
KDiskDevice *Device() const;
void SetParent(KPartition *parent);
KPartition *Parent() const;
status_t AddChild(KPartition *partition, int32 index = -1);