public void remove(Device d) {
		DeviceList temp = this.head;

		if (d == null) {
			return;
		}

		if (this.head != null) {
			if (this.head.device == d) {
				this.head = this.head.next;
			} else {
				boolean removed = false;
				while (temp != null && !removed) {
					if (temp.next.device == d) {
						temp.next = temp.next.next;
						removed = true;
					}
					temp = temp.next;
				}
			}

		}
	}